package com.sntk.registermanager.common.infrastructure.resp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @ClassName: PageParam
 * @author: wgchao
 * @createTime: 2020/7/13 3:31 PM
 * @Description: TODO
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "pageParam", description = "分页查询参数")
public class PageParam implements Serializable {

    @ApiModelProperty(value="页码-1开始", name="currPageNo", required=true)
    private Integer currPageNo = 1;

    @ApiModelProperty(value="单页条数", name="limit", required=true)
    private Integer limit = 10;

}
